From 3d6d71bd74bb35c666c1ccca387ef64d38db1234 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 17 Nov 2002 02:39:56 +0000 Subject: [PATCH] Look in text field, too... --- gpsbabel/magproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index 72d4568de..704dd3bfa 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -978,7 +978,7 @@ mag_waypt_pr(const waypoint *waypointp) isrc = waypointp->notes ? waypointp->notes : waypointp->description; owpt = global_opts.synthesize_shortnames ? mkshort(isrc) : waypointp->shortname, - odesc = waypointp->description ? waypointp->description : ""; + odesc = isrc ? isrc : ""; owpt = mag_cleanse(owpt); odesc = mag_cleanse(odesc); -- 2.30.2